package com.aspose.cells;

import java.util.Comparator;

class zbct implements Comparator {
   public int compare(Object x, Object y) {
      zbcp var3 = (zbcp)x;
      zbcp var4 = (zbcp)y;
      if (var3.ac() > var4.ac()) {
         return 1;
      } else if (var3.ac() == var4.ac()) {
         if (var3.ai() < var4.ai()) {
            return -1;
         } else {
            return var3.ai() > var4.ai() ? 1 : 0;
         }
      } else {
         return -1;
      }
   }
}
